SftTree/OCX 7.0

SftPictureObject.GetImageListH Method

Softel vdm, Inc.

Retrieves the picture object attributes defined as an ImageList image.

Syntax       

VB.NET

object.GetImageListH(ByRef ImageListWindow As Integer, ByRef ImageIndex As Short)

VB

object.GetImageListH(ImageListWindow As OLE_HANDLE, ImageIndex As Integer)

C#.NET

void object.GetImageListH(out int ImageListWindow, out short ImageIndex);

VC++

HRESULT object->GetImageListH(OLE_HANDLE* ImageListWindow, short* ImageIndex);

C

HRESULT object->raw_GetImageListH(OLE_HANDLE* ImageListWindow, short* ImageIndex);

Delphi

procedure object.GetImageListH(out ImageListWindow : Cardinal, out ImageIndex : Smallint);

object

A SftPictureObject object.

ImageListWindow

Returns the ImageList control handle.

ImageIndex

Returns the one-based index of the image in the ImageList control used as graphic.

Comments

The GetImageListH method retrieves the picture object attributes defined as an ImageList image.

If the current picture object is not based on an ImageList (SftPictureObject.Type other than sftTypeImageListH), the returned values are not valid.

See Also  SftPictureObject Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com